{% extends 'users/management/base.html' %}

{% block title %}
	创建以及管理
{% endblock %}

{% block management-external %}
{% endblock %}

{% block management-main %}
	<div class="row">
		<h3 class="text-center text-info">创建</h3>
		<hr/>
		<!--新增社团-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">创建社团</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-globe"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'departments:add_association' %}" target="_blank"><button type="button" class="btn btn-primary">Start!</button></a>
				</div>
			</div>
		</div>
		<!--新增部门-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">创建部门</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-globe"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'departments:add_department' %}" target="_blank"><button type="button" class="btn btn-primary">Start!</button></a>
				</div>
			</div>
		</div>
		<!--新增留言-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">创建留言</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-comment"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'communications:postCreate' %}" target="_blank"><button type="button" class="btn btn-primary">Start!</button></a>
				</div>
			</div>
		</div>
	</div>
	<!--管理模块-->
	<div class="row">
		<h3 class="text-center text-success">管理</h3>
		<hr/>
		<!--管理社团-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">管理社团</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-globe"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'users:management-community' request.user.id %}" target="_blank"><button type="button" class="btn btn-primary">Ｇo!</button></a>
				</div>
			</div>
		</div>
		<!--管理部门-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">管理部门</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-globe"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'users:management-department' request.user.id %}" target="_blank"><button type="button" class="btn btn-primary">Go!</button></a>
				</div>
			</div>
		</div>
		<!--管理留言-->
		<div class="col-sm-4">
			<div class="user-management-box">
				<div class="user-management-box-header">
					<h4 class="text-center">管理留言</h4>
				</div>
				<div class="user-management-box-body">
					<span class="glyphicon glyphicon-comment"></span>
				</div>
				<div class="user-management-box-footer">
					<a href="{% url 'users:management-comment' request.user.id %}" target="_blank"><button type="button" class="btn btn-primary">Go!</button></a>
				</div>
			</div>
		</div>
	</div>
{% endblock %}